s = raw_input()
for i in range(1, len(s) + 1):
    print i
